<?php

/**
 * Search result
 * @package local.includes.
 * @author viethd
 * @version $Id$
 * @copyright 2009 LHV Company
 */
class LabSearchResult extends SearchResult  {
    protected $assignments = array();    

    function __construct($data) {
        parent::__construct($data);
        $this->addAssignments($data);

    }
    
    public function getAssignments() {
        return $this->assignments;        
    }
    public function addAssignments($rawData = array()) {
        $this->assignments[]=  array(
	        'lab_assignment_ticket_id' 	=> $rawData['lab_assignment_ticket_id'],
	        'request_time' 				=> $rawData['request_time'],
	        'enum_status' 				=> $rawData['enum_status']
        );     
    }

    



}
?>